﻿using System;
using System.Linq;
using System.Collections.Generic;
using System.Text;

namespace Spencen.Mobile.UI.Easings
{
    public class CubicEasing : IEasingFunction
    {
        #region IEasingFunction Members

        public float EasedValue( float actualValue )
        {
            var negativeValue = actualValue - 1.0f;
            return negativeValue * negativeValue * negativeValue + 1;
        }

        #endregion
    }
}
